<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a href="/order/list/3">订单列表</a>
<br>
<table border="1">
    <tr>
        <th>序号</th>
        <th>课程名称</th>
        <th>课程介绍</th>
        <th>时长：秒</th>
        <th>价格：元</th>
        <th>总购买量</th>
        <th>加入学习</th>
    </tr>
    <tr th:each="course,courseStat : ${courseList}">
        <td th:text="${course.getId()}">0</td>
        <td th:text="${course.getCourseName()}">拉勾课程</td>
        <td th:text="${course.getBrief()}">对标阿里P7</td>
        <th th:text="${course.getTotalDuration()}">时长：秒</th>
        <th th:text="${course.getPrice()}">0.00</th>
        <th th:text="${course.getSales()}">0</th>
        <th><a th:href="@{/order/3/{id}(id=${course.getId()})}">加入学习</a></th>
    </tr>
</table>
</body>
</html>